package com.nightpiter.view.graphics.impl;

import android.graphics.Shader;

import com.nightpiter.view.graphics.abstaractions.AbstractShader;

public class AndroidShader implements AbstractShader {

	public static com.nightpiter.view.graphics.Shader castBack(Shader shader) {
		return null; // for Android implementation castBack difficult.
	}

	public static Shader cast(com.nightpiter.view.graphics.Shader aShader) {
		if (aShader == null)
			return null;
		return ((AndroidShader) aShader.getDelegate()).getShader();
	}

	public AndroidShader() {

	}

	public Shader getShader() {
		return new Shader();
	}

}
